package com.daka.dao;

import com.daka.entity.ApproveScore;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/9/27 16:00
 */

@Repository(value = "approveScoreMapper")
@SQLMapper
public interface ApproveScoreMapper {


    int insert(ApproveScore record);

    ApproveScore selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApproveScore record);

    List<ApproveScore> selectByStatement(ApproveScore record);
    int selectByStatementCount(ApproveScore record);

    List<ApproveScore> selectByApprove(Integer id);

    ApproveScore selectByOrg(ApproveScore approveScore);

}
